import java.awt.Color;

import javax.swing.JLabel;


public class GameBox extends JLabel{
	private boolean color;
	public GameBox(boolean color){
		this.setcolor(color);
		this.setOpaque(true);
		
	}
	public boolean getcolor() {
		return color;
	}
	public void setcolor(boolean color) {
		this.color=color;
		if(this.color==true){
			super.setBackground(Color.blue);
		}else{
			super.setBackground(Color.black);
		}
	}
}
